﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PaketTrackerVerwaltung.PaketTrackerServer;
using PaketTrackerVerwaltung.ViewModels;

namespace PaketTrackerVerwaltung
{
    public static class CommonHelper
    {
        public static void AddListPaketStatus(this List<PaketStatusViewModel> a, List<PaketStatus> statusList)
        {
            foreach (PaketStatus s in statusList)
            {
                a.Add(new PaketStatusViewModel(s));
            }
        }
    }
}
